package com.chinapost.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Tmonth entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TMONTH", schema = "YXJF")
public class Tmonth implements java.io.Serializable {

	// Fields

	private Integer cid;
	private Integer cmonth;

	// Constructors

	/** default constructor */
	public Tmonth() {
	}

	/** full constructor */
	public Tmonth(Integer cid, Integer cmonth) {
		this.cid = cid;
		this.cmonth = cmonth;
	}

	// Property accessors
	@Id
	@Column(name = "CID", unique = true, nullable = false, precision = 5, scale = 0)
	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	@Column(name = "CMONTH", nullable = false, precision = 8, scale = 0)
	public Integer getCmonth() {
		return this.cmonth;
	}

	public void setCmonth(Integer cmonth) {
		this.cmonth = cmonth;
	}

}